package semantic.rules.postprocess

import scala.collection.mutable.Buffer
import const.CConstCommons._

object CPostProcessRuleClean extends CPostProcessRule
{
    override def apply()(implicit code:Buffer[String]) =
    {
        val cd = code filterNot (s => s.isEmpty || s == NEW_LINE)
        code.clear()
        code ++= cd
    }
}
